package net.suncaper.psychological.mapper;

import net.suncaper.psychological.model.domain.User;

import java.util.List;

/**
 * 用户数据访问接口
 */
public interface UserMapper {
    List<User> getUserList();
    List<User> getAllUsers(); // 查询所有用户（包括已删除）
    User getUserById(Long id);
    User getUserByUsername(String username);
    User getUserByStudentId(String studentId);
    int insertUser(User user);
    int updateUser(User user);
    int deleteUser(Long id);
}
